/*
 * IDespesaFacade.java
 *
 * Created on July 3, 2007, 6:04 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package br.com.esp.agendafinanceira.servico;

import br.com.esp.agendafinanceira.entity.Despesa;
import br.com.esp.agendafinanceira.to.DespesaTO;
import java.io.Serializable;
import java.util.List;

/**
 *
 * @author David
 */
public interface IDespesaFacade {
    
    void create(DespesaTO despesaTO);

    void edit(DespesaTO despesaTO);

    void destroy(DespesaTO despesaTO);

    DespesaTO find(Object pk);

    List findAll();
    
    List<DespesaTO> findDespesaByUsuarioId(final Serializable id);
    
    List<DespesaTO> findDespesaByNomeAndUsuarioId(final String nome, final Serializable id);
}
